package com.example.tijianserver.service;

import com.example.tijianserver.dto.PersonalOrderDTO;
import com.example.tijianserver.dto.ReportListDTO;
import com.example.tijianserver.pojo.Orders;

import java.text.ParseException;
import java.util.List;

public interface OrdersService {

     Orders insertSelective(Orders orders);

    int updatestate(int orderId, int state);

    int insert(Orders orders);

    List<Orders> getPersonalOrder(String userId);

    List<PersonalOrderDTO> getPOrder(String userId) throws ParseException;

    List<ReportListDTO> getReport(Orders orders);
}
